package com.weixing.mall.provider.model.vo.report.advertisement;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.provider.model.enums.AdvertsingEunm;
import com.weixing.mall.provider.support.excel.EnumConverter.AdvertisingStatusConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author jzy
 * @date 2020/6/8
 */
@Data
@ApiModel(value="AdvertisementServiceDataVo", description="广告部-03广告服务数据")
public class AdvertisementServiceDataVo {
    @ApiModelProperty(value = "姓名")
    @ExcelProperty("姓名")
    private String agentName;
    @ApiModelProperty(value = "个人微信号")
    @ExcelProperty("个人微信号")
    private String wechatNum;
    @ApiModelProperty(value = "投放日期")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("投放日期")
    private Date launchDate;
    @ApiModelProperty(value = "广告平台")
    @ExcelProperty("广告平台")
    private String plateformName;
    @ApiModelProperty(value = "平台号")
    @ExcelProperty("平台号")
    private String chatNum;
    @ApiModelProperty(value = "广告专员")
    @ExcelProperty("广告专员")
    private String directorName;
    @ApiModelProperty(value = "文章标题")
    @ExcelProperty("文章标题")
    private String articleTitle;
    @ApiModelProperty(value = "阅读量")
    @ExcelProperty("阅读量")
    private Integer readAmount;
    @ApiModelProperty(value = "粉丝获得数量")
    @ExcelProperty("粉丝获得数量")
    private Integer fans;
    @ApiModelProperty(value = "费用")
    @ExcelProperty("费用")
    private BigDecimal price;
    @ApiModelProperty(value = "代理已付给公司")
    @ExcelProperty("代理已付给公司")
    private String priceIn;
    @ApiModelProperty(value = "公司已付给平台")
    @ExcelProperty("公司已付给平台")
    private String priceOut;
    @ApiModelProperty(value = "排版(广告状态)")
    @ExcelProperty(value = "广告状态",converter = AdvertisingStatusConverter.class)
    private AdvertsingEunm staus;
}
